<script>
    checkRadiosFromCookie()
</script>

<p class="xl">Cambiar entorno</p>
<div class="left separadoizq">
    <p class="large">Dispositivo</p>
    <label class="block"><input type="radio" name="disp" id="top">Escritorio/Portátil</input></label>
    <label class="block"><input type="radio" name="disp" id="mobile">Celular/Tableta</input></label>
</div>
<div class="left separadoizq">
    <p class="large">Sistema operativo</p>
    <label class="block"><input type="radio" name="so" id="w7">Windows 7</input></label>
    <label class="block"><input type="radio" name="so" id="xp">Windows XP</input></label>
    <label class="block"><input type="radio" name="so" id="android">Android</input></label>
</div>
<div class="left separadoizq">
    <p class="large">Navegador</p>
    <label class="block"><input type="radio" name="nav" id="chrome">Google Chrome</input></label>
    <label class="block"><input type="radio" name="nav" id="ff">Mozilla Firefox</input></label>
    <label class="block"><input type="radio" name="nav" id="ie">Internet Explorer</input></label>
</div>

<div class="clear separado margen">
    <input type="button" value="Guardar" onclick="guardarEntornoEnCookie('disp', 'so', 'nav');alert('Entorno guardado.');"></input>
    <input type="button" value="Detectar" onclick="obtenerEntorno();checkRadiosFromCookie();"></input>
    <input type="button" value="Volver" onclick="loadLastPage();"></input>
</div>
